package com.wuge.springInjection0807.UserTest;

/**
 * Created by Administrator on 2017/8/7.
 */
public class User {
    private String userName;
    private String password;
    private int age;
    private float money;

    //构造注入
    /*
    public User(String userName, String password, int age, float money){
        this.userName = userName;
        this.password = password;
        this.age = age;
        this.money = money;
        System.out.println("构造注入");
    }
    */
    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public float getMoney() {
        return money;
    }

    public void setMoney(float money) {
        this.money = money;
    }
}
